package com.example.wlzz.repository;

import com.example.wlzz.entity.Subcategory;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface SubCategoryRepository extends JpaRepository<Subcategory,Integer>{
        List<Subcategory> findByCategoryId(Integer categoryId);
}
